if [ -n "$1" ] ; then
    cmake --build build
    echo "testing $1"
    ./build/bin/sysyc "$1" > tmpir
    cat tmpir
    echo
    llvm-link lib/sylib.ll tmpir -o tmpir
    lli tmpir
    echo $?

else
    echo "usage: $0 test-file-name"
fi
